package com.xiaoshuidi.cloud.module.member.controller.admin.securitycheck.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDate;

@Data
@Accessors(chain = true)
@Schema(description = "隐患台账相应对象")
public class HazardLedgerPageRespVO extends SecurityCheckRectificationItemBaseVO{

    @Schema(description = "id")
    private Long id;

    @Schema(description = "项目名")
    private String programName;

    @Schema(description = "整治进展情况")
    private String status;

    @Schema(description = "检查时间")
    private LocalDate checkDate;

    @Schema(description = "受检单位")
    private String checkWorkUnit;


    @Schema(description = "检查类型")
    private Byte securityCheckType;

    @Schema(description = "隐患等级")
    private Byte pitfallLevel;

    @Schema(description = "整治责任人名字", required = true)
    //@NotNull(message = "整治责任人不能为空") 版本7.0.9 字段弃用
    private String wilfulnessName;

}
